# -*- coding: utf-8 -*-
import logging
import time
from examples.recorder_utils import run_data_recorder
from zvt import init_log, zvt_config
from zvt.domain import *

from zvt.informer import EmailInformer
from zvt.utils import next_date, current_date
from . utils import set_downloaders

data_provider = "sina"
entity_provider = "sina"
sleeping_time = 0.1

def record_downloader_1():
    run_data_recorder(domain=Block, data_provider=data_provider, sleeping_time=sleeping_time)
def record_downloader_2():    
    run_data_recorder(domain=Block, data_provider=data_provider, entity_provider=entity_provider, sleeping_time=sleeping_time)
def record_downloader_3():
    run_data_recorder(domain=BlockMoneyFlow, data_provider=data_provider, entity_provider=entity_provider, day_data=True, sleeping_time=sleeping_time)

set_downloaders(globals())
